package server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by admin on 2016/12/26.
 */
@Configuration
@EnableConfigServer
@ComponentScan
@EnableAutoConfiguration
public class ConfigApplication  {
    public static void main (String [] args) {
        SpringApplication.run(ConfigApplication.class, args);
    }
}
